package com.hhit.zhgd.service

import com.hhit.zhgd.service.MenuService
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest

@SpringBootTest
class MenuServiceTests {
    @Autowired
    private var menuService: MenuService?=null

    @Test
    fun getAllTest(){
        val params = HashMap<String, Any>()
        val all = menuService?.getAll(params)
        if (all != null) {
            for (menu in all) {
                println(menu)
            }
        }
    }
}